Automattic\WooCommerce\Admin\API\Reports\Coupons\DataStore S

Total Complexity 40
Dependencies 8
Dependents 4
Total lines 474
Lines of code 281
Logical lines of code 153
Comment lines 123
Methods 13
Properties 4

Methods 13

Method Rating Maintainability Complexity Lines of code
get_data()
A
37 6 83
sync_order_coupons()
A
41 7 60
include_extended_info()
A
44 6 50
add_order_by_params()
S
54 4 20
get_included_coupons_array()
S
70 4 6
normalize_order_by()
S
67 3 9
add_sql_query_params()
S
59 2 14
get_coupon_id()
S
68 2 7
get_coupons()
S
64 2 9
assign_report_columns()
S
67 1 8
init()
S
78 1 3
sync_on_order_delete()
S
70 1 6
initialize_queries()
S
70 1 6